package com.sea.operate.service;


import com.sea.operate.entity.Related;
import com.sea.operate.entity.WordClick;
import org.apache.ibatis.annotations.Param;

import java.io.InputStream;
import java.util.List;

/**
 * @author 陈鸿飞
 */
public interface WordClickService {
    /**
     * 条件查询
     * @param wordClick
     * @return
     */
    List<WordClick> findByCnd(WordClick wordClick);

    /**
     * 新增
     * @param wordClick
     * @return
     */
    Integer save(WordClick wordClick);
    /**
     * 导入SKU
     * @param inputStream
     * @param fileName
     * @return
     * @throws Exception
     */
    void importWordClick(InputStream inputStream, String fileName) throws Exception;

    WordClick findByWord(String word);

    int update(WordClick wordClick);

}
